import unicore from './core.service'
export function getHeader(header?:any){
	return Object.assign({},header,{
      'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8;',
      'X_ClientToken': unicore.config.X_ClientToken,
	  'X_GwApiToken': unicore.config.X_GwApiToken
    })
}

export function getImgHeader(header?:any){
    console.log(header)
	return Object.assign({},header,{
      'X_ClientToken': unicore.config.X_ClientToken,
      'X_GwApiToken': unicore.config.X_GwApiToken,
    })
}


